﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2012/4/25 0:43:53
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Sector7.Restaurant.EntityType
{
    /// <summary>
    /// 费用信息实体
    /// </summary>
    [Serializable]
    [DataContract]
    public class RS_Charge : Entity
    {
        /// <summary>
        /// 获取或设置费用信息编号
        /// </summary>
        [DataMember]
        public string ChargeId { get; set; }

        /// <summary>
        /// 获取或设置费用项目
        /// </summary>
        [DataMember]
        public int ChargeItem { get; set; }

        /// <summary>
        /// 获取或设置费用类型
        /// </summary>
        [DataMember]
        public int ChargeType { get; set; }

        /// <summary>
        /// 获取或设置金额
        /// </summary>
        [DataMember]
        public decimal Amount { get; set; }

        /// <summary>
        /// 获取或设置发生时间
        /// </summary>
        [DataMember]
        public DateTime OccurTime { get; set; }

        /// <summary>
        /// 获取或设置单据编号
        /// </summary>
        [DataMember]
        public string BillId { get; set; }

        /// <summary>
        /// 获取或设置备注
        /// </summary>
        [DataMember]
        public string Remarks { get; set; }

        /// <summary>
        /// 获取或设置费用对应单据
        /// </summary>
        [DataMember]
        public RS_BillBase Bill { get; set; }
    }
}
